home *** CD-ROM | disk | FTP | other *** search
/ Programming Windows 95 with MFC / Programming Windows 95 with MFC (Microsoft Programming Series)(097-0001465)(1996).iso / CODE / Chap09 / Paint6 / Splitter.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-05  |  413 b   |  16 lines

  1. //***********************************************************************
  2. //
  3. //  Splitter.cpp
  4. //
  5. //***********************************************************************
  6.  
  7. #include <afxwin.h>
  8. #include <afxext.h>
  9. #include "Splitter.h"
  10.  
  11. BOOL CNestedSplitterWnd::SplitRow (int cyBefore)
  12. {
  13.     GetParentFrame ()->SetActiveView ((CView*) GetPane (0, 0));
  14.     return CSplitterWnd::SplitRow (cyBefore);
  15. }
  16.